/**  

* @Title: ArticleDao.java 

* @Package com.gxbadge.dao 

* @Description: TODO(用一句话描述该文件做什么) 

* @author CST

* @version V1.0  

*/ 

package com.gxbadge.dao;

import java.util.List;

import com.gxbadge.model.Article;
import com.gxbadge.model.Navigation;

public interface ArticleDao {

	
	void save(Article article);
	void delete(Article article);
	void update(Article article);
	Article findArticleByArtiId(Integer artiId);
	List<Article> findArticleAll();
	List<Article> findArtiListByNav(Navigation nav);
	List<Article> findArtiListByNavList(List<Navigation> navList, int offset, int pageSize);
	long find_artiTotalCount(List<Navigation> navList);
	
	/* ------------------文章模块处理-------前台-----------    */                    
	List<Article> findFrontArtiListByNavList(List<Navigation> navList, int offset, int pageSize);
	long ffind_artiTotalCount(List<Navigation> navList);
}
